import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'

Vue.use(Vuex)

export default new Vuex.Store({
  modules:{
    user,
  },
  state: {
    country:'中国',
    pagesize:'1'
  },
  mutations: {
    add(state){
      state.pagesize++;
    }
  },
  actions: {
  },
  namespaced: true
})
